# -*- coding: utf-8 -*-

'''
共用函数帮助类
'''

import os
import shutil
import json
import sys
import time

sys.dont_write_bytecode = True


# FuncUtils





def runFunc(tag,func,_dict):

	ticks = time.time()
	print("================执行开始 " + tag + " ================")
	ret = func(_dict)
	print("================执行结束 " + tag + " ================ 用时:%.4f"%(time.time() - ticks))
	return ret








# def runClassFunc(tag,obj,func,_dict):

# 	ticks = time.time()
# 	print("================执行开始 " + tag + " ================")
# 	ret = func(_dict)
# 	print("================执行结束 " + tag + " ================ 用时:%.4f"%(time.time() - ticks))
# 	return ret



















